import Vue from 'vue'
import VueRouter from 'vue-router'


Vue.use(VueRouter)

const routes = [

  {
    path: '/',
    name: 'index',
    component: () => import('../views/subscribe.vue')
  }, {
    path: '/map',
    name: 'map',
    component: () => import('../views/map.vue'),
  }, {
    path: '/ximen',
    name: 'ximen',
    component: () => import('../views/ximen.vue'),
  },
  {
    path: '/subscribe',
    name: 'subscribe',
    component: () => import('../views/subscribe.vue')
  },
  {
    path: '/geren',
    name: 'geren',
    component: () => import('../views/geren.vue')
  },
  {
    path: '/wyyy',
    name: 'wyyy',
    component: () => import('../views/wyyy.vue')
  },
  {
    path: '/wdyy',
    name: 'wdyy',
    component: () => import('../views/wdyy.vue')
  },
  {
    path: '/Personal_information',
    name: 'Personal_information',
    component: () => import('../views/Personal_information.vue')
  },
  {
    path: '/dingdan',
    name: 'dingdan',
    component: () => import('../views/dingdan.vue')
  },
  {
    path: '/login',
    name: 'login',
    component: () => import('../views/login.vue')
  },
  {
    path: '/register',
    name: 'register',
    component: () => import('../views/register.vue')
  },
  {
    path: '/notice',
    name: 'notice',
    component: () => import('../views/notice.vue')
  },{
    path: '/letter',
    name: 'letter',
    component: () => import('../views/letter.vue')
  },

]

const router = new VueRouter({
  routes
})

export default router